package com.qf.pojo;

import java.util.*;

/**
 * @author bss
 * @version V1.0
 * @Project maven
 * @Package com.qf.pojo
 * @Description:
 * @Date 2022/9/26 21:20
 */
public class User {
    private int id;
    private String name;
    private char sex;
    private boolean flag;

    private String[] arrs;
    private List<String> list;
    private Set<String> set;
    private Properties prop;
    private Map<String,Object> map;

    private Date birthday;



    public User() {
    }

    public User(int id, String name, char sex, boolean flag) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.flag = flag;
    }

    public User(String[] arrs, List<String> list, Set<String> set, Properties prop, Map<String, Object> map) {
        this.arrs = arrs;
        this.list = list;
        this.set = set;
        this.prop = prop;
        this.map = map;
    }

    public User(Date birthday) {
        this.birthday = birthday;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public char getSex() {
        return sex;
    }

    public void setSex(char sex) {
        this.sex = sex;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public String[] getArrs() {
        return arrs;
    }

    public void setArrs(String[] arrs) {
        this.arrs = arrs;
    }

    public List<String> getList() {
        return list;
    }

    public void setList(List<String> list) {
        this.list = list;
    }

    public Set<String> getSet() {
        return set;
    }

    public void setSet(Set<String> set) {
        this.set = set;
    }

    public Properties getProp() {
        return prop;
    }

    public void setProp(Properties prop) {
        this.prop = prop;
    }

    public Map<String, Object> getMap() {
        return map;
    }

    public void setMap(Map<String, Object> map) {
        this.map = map;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", sex=" + sex +
                ", flag=" + flag +
                ", arrs=" + Arrays.toString(arrs) +
                ", list=" + list +
                ", set=" + set +
                ", prop=" + prop +
                ", map=" + map +
                ", birthday=" + birthday +
                '}';
    }
}
